<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class GoodsConfig extends Model
{
	use HasDateTimeFormatter;
	use SoftDeletes;
	
	protected $table = 'goodsConfig';
	

	public function time()
	{
		return $this->hasMany(SeckillGood::class, 'time_slot', 'id');
	}
	

}
